
package com.microsoft.schemas.office.project.server.webservices.userdelegationdataset;

import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import javax.xml.datatype.XMLGregorianCalendar;


/**
 * <p>Java class for anonymous complex type.
 * 
 * <p>The following schema fragment specifies the expected content contained within this class.
 * 
 * <pre>
 * &lt;complexType>
 *   &lt;complexContent>
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       &lt;choice maxOccurs="unbounded" minOccurs="0">
 *         &lt;element name="ResourceDelegations">
 *           &lt;complexType>
 *             &lt;complexContent>
 *               &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *                 &lt;sequence>
 *                   &lt;element name="DELEGATION_UID" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *                   &lt;element name="RES_UID" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *                   &lt;element name="RES_NAME" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *                   &lt;element name="DELEGATE_UID" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *                   &lt;element name="DELEGATE_NAME" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *                   &lt;element name="DELEGATION_START" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
 *                   &lt;element name="DELEGATION_FINISH" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
 *                 &lt;/sequence>
 *               &lt;/restriction>
 *             &lt;/complexContent>
 *           &lt;/complexType>
 *         &lt;/element>
 *       &lt;/choice>
 *     &lt;/restriction>
 *   &lt;/complexContent>
 * &lt;/complexType>
 * </pre>
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
    "resourceDelegations"
})
@XmlRootElement(name = "UserDelegationDataSet")
public class UserDelegationDataSet {

    @XmlElement(name = "ResourceDelegations")
    protected List<UserDelegationDataSet.ResourceDelegations> resourceDelegations;

    /**
     * Gets the value of the resourceDelegations property.
     * 
     * <p>
     * This accessor method returns a reference to the live list,
     * not a snapshot. Therefore any modification you make to the
     * returned list will be present inside the JAXB object.
     * This is why there is not a <CODE>set</CODE> method for the resourceDelegations property.
     * 
     * <p>
     * For example, to add a new item, do as follows:
     * <pre>
     *    getResourceDelegations().add(newItem);
     * </pre>
     * 
     * 
     * <p>
     * Objects of the following type(s) are allowed in the list
     * {@link UserDelegationDataSet.ResourceDelegations }
     * 
     * 
     */
    public List<UserDelegationDataSet.ResourceDelegations> getResourceDelegations() {
        if (resourceDelegations == null) {
            resourceDelegations = new ArrayList<UserDelegationDataSet.ResourceDelegations>();
        }
        return this.resourceDelegations;
    }


    /**
     * <p>Java class for anonymous complex type.
     * 
     * <p>The following schema fragment specifies the expected content contained within this class.
     * 
     * <pre>
     * &lt;complexType>
     *   &lt;complexContent>
     *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
     *       &lt;sequence>
     *         &lt;element name="DELEGATION_UID" type="{http://www.w3.org/2001/XMLSchema}string"/>
     *         &lt;element name="RES_UID" type="{http://www.w3.org/2001/XMLSchema}string"/>
     *         &lt;element name="RES_NAME" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
     *         &lt;element name="DELEGATE_UID" type="{http://www.w3.org/2001/XMLSchema}string"/>
     *         &lt;element name="DELEGATE_NAME" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
     *         &lt;element name="DELEGATION_START" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
     *         &lt;element name="DELEGATION_FINISH" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
     *       &lt;/sequence>
     *     &lt;/restriction>
     *   &lt;/complexContent>
     * &lt;/complexType>
     * </pre>
     * 
     * 
     */
    @XmlAccessorType(XmlAccessType.FIELD)
    @XmlType(name = "", propOrder = {
        "delegationuid",
        "resuid",
        "resname",
        "delegateuid",
        "delegatename",
        "delegationstart",
        "delegationfinish"
    })
    public static class ResourceDelegations {

        @XmlElement(name = "DELEGATION_UID", required = true)
        protected String delegationuid;
        @XmlElement(name = "RES_UID", required = true)
        protected String resuid;
        @XmlElement(name = "RES_NAME")
        protected String resname;
        @XmlElement(name = "DELEGATE_UID", required = true)
        protected String delegateuid;
        @XmlElement(name = "DELEGATE_NAME")
        protected String delegatename;
        @XmlElement(name = "DELEGATION_START", required = true)
        @XmlSchemaType(name = "dateTime")
        protected XMLGregorianCalendar delegationstart;
        @XmlElement(name = "DELEGATION_FINISH", required = true)
        @XmlSchemaType(name = "dateTime")
        protected XMLGregorianCalendar delegationfinish;

        /**
         * Gets the value of the delegationuid property.
         * 
         * @return
         *     possible object is
         *     {@link String }
         *     
         */
        public String getDELEGATIONUID() {
            return delegationuid;
        }

        /**
         * Sets the value of the delegationuid property.
         * 
         * @param value
         *     allowed object is
         *     {@link String }
         *     
         */
        public void setDELEGATIONUID(String value) {
            this.delegationuid = value;
        }

        /**
         * Gets the value of the resuid property.
         * 
         * @return
         *     possible object is
         *     {@link String }
         *     
         */
        public String getRESUID() {
            return resuid;
        }

        /**
         * Sets the value of the resuid property.
         * 
         * @param value
         *     allowed object is
         *     {@link String }
         *     
         */
        public void setRESUID(String value) {
            this.resuid = value;
        }

        /**
         * Gets the value of the resname property.
         * 
         * @return
         *     possible object is
         *     {@link String }
         *     
         */
        public String getRESNAME() {
            return resname;
        }

        /**
         * Sets the value of the resname property.
         * 
         * @param value
         *     allowed object is
         *     {@link String }
         *     
         */
        public void setRESNAME(String value) {
            this.resname = value;
        }

        /**
         * Gets the value of the delegateuid property.
         * 
         * @return
         *     possible object is
         *     {@link String }
         *     
         */
        public String getDELEGATEUID() {
            return delegateuid;
        }

        /**
         * Sets the value of the delegateuid property.
         * 
         * @param value
         *     allowed object is
         *     {@link String }
         *     
         */
        public void setDELEGATEUID(String value) {
            this.delegateuid = value;
        }

        /**
         * Gets the value of the delegatename property.
         * 
         * @return
         *     possible object is
         *     {@link String }
         *     
         */
        public String getDELEGATENAME() {
            return delegatename;
        }

        /**
         * Sets the value of the delegatename property.
         * 
         * @param value
         *     allowed object is
         *     {@link String }
         *     
         */
        public void setDELEGATENAME(String value) {
            this.delegatename = value;
        }

        /**
         * Gets the value of the delegationstart property.
         * 
         * @return
         *     possible object is
         *     {@link XMLGregorianCalendar }
         *     
         */
        public XMLGregorianCalendar getDELEGATIONSTART() {
            return delegationstart;
        }

        /**
         * Sets the value of the delegationstart property.
         * 
         * @param value
         *     allowed object is
         *     {@link XMLGregorianCalendar }
         *     
         */
        public void setDELEGATIONSTART(XMLGregorianCalendar value) {
            this.delegationstart = value;
        }

        /**
         * Gets the value of the delegationfinish property.
         * 
         * @return
         *     possible object is
         *     {@link XMLGregorianCalendar }
         *     
         */
        public XMLGregorianCalendar getDELEGATIONFINISH() {
            return delegationfinish;
        }

        /**
         * Sets the value of the delegationfinish property.
         * 
         * @param value
         *     allowed object is
         *     {@link XMLGregorianCalendar }
         *     
         */
        public void setDELEGATIONFINISH(XMLGregorianCalendar value) {
            this.delegationfinish = value;
        }

    }

}
